package com.syswin.lhztest.demoSwagger.controller;

import com.syswin.lhztest.demoSwagger.test.ExceptionTestUtil;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

import javax.servlet.http.HttpServletRequest;

@RestController
@RequestMapping("/test")
@Api(tags = "device")
public class UserDeviceController {

	private static Logger LOGGER = LoggerFactory.getLogger(UserDeviceController.class);


	/**
	 * 报修提交接口
	 * @author 601424
	 * @param request
	 * @return
	 */
	@RequestMapping(value="/key")
	@ApiOperation(
			value = "钥匙列表"
	)
	public String applyRepair(HttpServletRequest request){
		LOGGER.info("1111");
		return "111";
	}
}
